package com.bootdo.wx.dao;

import com.bootdo.wx.domain.OrderComDO;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;

/**
 * 订单返佣表
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-05-22 15:31:35
 */
@Mapper
public interface OrderComDao {

	OrderComDO get(String id);
	
	List<OrderComDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(OrderComDO orderCom);
	
	int update(OrderComDO orderCom);
	
	int remove(String id);
	
	int batchRemove(String[] ids);

	int removeCom(String orderId);

	BigDecimal getMemberPrice(Map<String, Object> map);

	List<Map<String,Object>> getMemberPriceList(Map<String, Object> map);

	int updateByOrderId(String orderId);

	/**
	 * @author long
	 * 2020年7月20日上午11:18:25
	 * 方法释义:
	 * 参数:
	 *
	 */
	BigDecimal  getMemberFreezeMoney(String userId);


}
